//
//  CYViewController.h
//  CaiYun
//
//  Created by 今日信息科技 on 2017/6/27.
//  Copyright © 2017年 今日信息科技. All rights reserved.
//

#import <UIKit/UIKit.h>
@class CYBettingViewController;
@interface CYViewController : UIViewController
@property (nonatomic, strong) UISwipeGestureRecognizer *right_swipe;//右滑手势
@property (nonatomic, strong) UISwipeGestureRecognizer *left_swipe;//左滑手势
@property (nonatomic, strong) NSURLSessionTask *task;//网络请求句柄
@property (nonatomic, strong) NSURLSessionTask *spareTask;//备用的网络请求句柄
- (void)setupNavigationBarTintColor:(UIColor *)color;
/**
 *@pragma 添加左右滑动控件
 */
- (void)addSwipe;
/**
 *@pragma 左右滑动事件
 */
- (void)handleSwipe:(UISwipeGestureRecognizer *)sender;
- (void)backWithValues:(NSArray *)value keys:(NSArray *)keys;
- (void)popPreviousViewController;
@end
